Bookly\Frontend\Modules\Booking\Ajax D

Total Complexity 223
Dependencies 39
Dependents 1
Total lines 1,317
Lines of code 1,026
Logical lines of code 502
Comment lines 161
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
renderTime()
D
26
40 133
_prepareProgressTracker()
C
34 29 79
renderPayment()
C
30 26 118
saveAppointment()
B
36 15 84
renderDetails()
A
39 14 60
sessionSave()
A
43 13 45
renderService()
A
37 9 76
renderNextTime()
A
45 11 36
approveAppointment()
A
44 9 42
renderComplete()
A
43 8 46
rejectAppointment()
A
47 7 35
renderExtras()
S
46 6 40
renderRepeat()
S
42 5 52
_setDataForSkippedServiceStep()
S
46 5 38
_handleTimeZone()
S
53 6 23
wpUserLogin()
S
43 4 49
renderCart()
S
51 5 25
checkCart()
S
56 3 18
cancelAppointment()
S
62 3 10
csrfTokenValid()
S
63 2 11
_showCartButton()
S
78 2 3
permissions()
S
79 1 3